package com.sskj.fabi.bean;

import com.sskj.fabi.R;

public enum PayTypeEnum {
    WX("1", R.mipmap.fabi_icon_wx, "微信"),
    ALIPAY("2", R.mipmap.fabi_icon_alipay, "支付宝"),
    YL("3", R.mipmap.fabi_icon_yl, "银行卡");
    private String type;
    private Integer res;
    private String name;
    private boolean isChoose;

    public boolean isChoose() {
        return isChoose;
    }

    public PayTypeEnum setChoose(boolean choose) {
        isChoose = choose;
        return this;
    }

    PayTypeEnum(String type, Integer res, String name) {
        this.type = type;
        this.res = res;
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public Integer getRes() {
        return res;
    }

    public String getName() {
        return name;
    }
}
